<?php

namespace app\api\validate;

use think\Validate;

class Register extends Validate
{
    protected $rule = [
        'mobile' => 'require',
        'password' => 'require',
        'captcha' => 'require',
    ];

    protected $message = [
        'mobile.require' => '手机号不能为空',
        'password.require' => '密码不能为空',
        'captcha.require' => '验证码不能为空',
    ];
}